/****************************************************************************
**
** CharacterList.h
**
** Copyright (C) August 2014 Hotride
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
**
*****************************************************************************
*/
//---------------------------------------------------------------------------
#ifndef CharacterListH
#define CharacterListH
//--------------------------------------------------------------------------
class TCharacterList
{
private:
	int m_Count;
	int m_Selected;

	bool m_OnePerson;
	bool m_Have6Slot;
	bool m_Have7Slot;
	BYTE m_ClientFlag;

	string m_Name[7];

public:
	TCharacterList();
	~TCharacterList() {}

	void Clear();

	SETGET(int, Count)
	SETGET(int, Selected)
	SETGET(bool, OnePerson)
	SETGET(bool, Have6Slot)
	SETGET(bool, Have7Slot)
	SETGET(BYTE, ClientFlag)

	void SetName(int pos, string name);
	
	string GetName(int pos) const;
};
//---------------------------------------------------------------------------
#endif